<%@page import="javax.faces.context.FacesContext"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Cadastro</title>
<link rel="StyleSheet" type="text/css" href="../css/messages-style.css"
	media="screen" />
</head>
<body>
<f:subview id="menus">
	<a4j:loadScript src="../js/script.js" />
	<a4j:form id="form">
	
		<a4j:commandButton value="Cadastrar"
			action="#{cadastroController.cadastrar}"/>
		<a4j:commandButton value="Listar" action="#{cadastroController.listar}"></a4j:commandButton>	
	</a4j:form>
	<center>
	<a4j:status>
		<f:facet name="start">
			<h:graphicImage value="../images/ajax-loader.gif" />
		</f:facet>
	</a4j:status>
	</center>
</f:subview>
</body>
</html>